package com.woniuxy.daos;

import com.woniuxy.entitys.TbSection;
import com.woniuxy.entitys.TbSectionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbSectionDao {
    long countByExample(TbSectionExample example);

    int deleteByExample(TbSectionExample example);

    int deleteByPrimaryKey(Integer sid);

    int insert(TbSection record);

    int insertSelective(TbSection record);

    List<TbSection> selectByExample(TbSectionExample example);

    TbSection selectByPrimaryKey(Integer sid);

    int updateByExampleSelective(@Param("record") TbSection record, @Param("example") TbSectionExample example);

    int updateByExample(@Param("record") TbSection record, @Param("example") TbSectionExample example);

    int updateByPrimaryKeySelective(TbSection record);

    int updateByPrimaryKey(TbSection record);

    List<TbSection> selectsection(@Param("phone")String phone,@Param("sname") String sname, @Param("did")Integer did, @Param("hid")Integer hid);

    TbSection getSectionInfoByUid(Integer uid);
}